package com.twu.biblioteca;

/**
 * Created by mgehwolf on 04/08/2014.
 */
public class User {
    private String name;
    private String username;
    private String password;
    private String libraryNumber;
    private String email;
    private String phone;
    private LibraryItemList libraryItemList;

    public User(String name, String username, String password, String libraryNumber, String email, String phone){
        this.name = name;
        this.username = username;
        this.password = password;
        this.libraryNumber = libraryNumber;
        this.email = email;
        this.phone = phone;
        libraryItemList = new LibraryItemList();
        libraryItemList.addItem(1, "The Pie of the World", "Robert Jordan", "2012", true);
    }

    public User() {
        this.name = null;
        this.username = null;
        this.password = null;
        this.libraryNumber = null;
        this.email = null;
        this.phone = null;
    }

    public String getPassword() {
        return password;
    }

    public String getUsername() {
        return username;
    }

    public String getName() {
        return name;
    }

    public String getLibraryNumber() {
        return libraryNumber;
    }


    public LibraryItemList getLibraryItemList() {
        return libraryItemList;
    }

    public String getEmail() {
        return email;
    }

    public String getPhone() {
        return phone;
    }
}
